package com.example.clublesson01


import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import com.bw.kf.lib_base.base.BaseViewActivity
import com.example.clublesson01.databinding.ActivityMainBinding
@Route(path = "/app/MainActivity")
class MainActivity : BaseViewActivity<ActivityMainBinding>() {
    override fun iniView() {
        val navHostFragment=supportFragmentManager.findFragmentById(R.id.fragmentContainerView) as NavHostFragment
        val navController=navHostFragment.navController
        binding.bottom.setupWithNavController(navController)
    }
    override fun iniData() {}
    override fun Layoutid()=R.layout.activity_main
}